package com.sale.system.service;

import com.sale.system.domain.SysDayReport;

import java.util.List;

/**
 * 工作日报记录
 * @package com.sale.system.service
 * @className IDayReportService
 * @author zhangyingdong
 * @date 2022-01-24 0:23
 * @version 1.0.0
 */
public interface IDayReportService {


    /**
     * 查询日报列表
     * @param sysDayReport
     * @method list
     * @author zhangyingdong
     * @return List<SysDayReport>
     * @throws
     * @date 2022/1/24 0:47
     */
    List<SysDayReport> selectDayReportList(SysDayReport sysDayReport);

    /**
     * 新增工作日报
     * @param sysDayReport
     * @method addDayReport
     * @author zhangyingdong
     * @return int
     * @throws
     * @date 2022/1/24 0:49
     */
    int addDayReport(SysDayReport sysDayReport);

    /**
     * 修改工作日报
     * @param sysDayReport
     * @method update
     * @author zhangyingdong
     * @return int
     * @throws
     * @date 2022/1/24 0:49
     */
    int update(SysDayReport sysDayReport);

    /**
     * 删除工作日报
     * @param id
     * @method delete
     * @author zhangyingdong
     * @return int
     * @throws
     * @date 2022/1/24 0:52
     */
    int delete(Long id);


    SysDayReport selectById(Long id);
}
